package com.ruoyi.project.web.videoClassify.service;

import java.util.List;
import com.ruoyi.project.web.videoClassify.domain.VideoClassify;

/**
 * 视频分类Service接口
 * 
 * @author ruoyi
 * @date 2021-01-21
 */
public interface IVideoClassifyService 
{
    /**
     * 查询视频分类
     * 
     * @param classifyId 视频分类ID
     * @return 视频分类
     */
    public VideoClassify selectVideoClassifyById(Long classifyId);

    /**
     * 查询视频分类列表
     * 
     * @param videoClassify 视频分类
     * @return 视频分类集合
     */
    public List<VideoClassify> selectVideoClassifyList(VideoClassify videoClassify);

    /**
     * 新增视频分类
     * 
     * @param videoClassify 视频分类
     * @return 结果
     */
    public int insertVideoClassify(VideoClassify videoClassify);

    /**
     * 修改视频分类
     * 
     * @param videoClassify 视频分类
     * @return 结果
     */
    public int updateVideoClassify(VideoClassify videoClassify);

    /**
     * 批量删除视频分类
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteVideoClassifyByIds(String ids);

    /**
     * 删除视频分类信息
     * 
     * @param classifyId 视频分类ID
     * @return 结果
     */
    public int deleteVideoClassifyById(Long classifyId);

    int checkClassifyNameUnique(VideoClassify videoClassify);
}
